from django.conf.urls import url, include
from rest import views
from rest_framework.routers import DefaultRouter

router = DefaultRouter()
router.register(r'user', views.UserSet,base_name='UserSet')

urlpatterns = [
    url(r'^', include(router.urls)),
    url(r'^login/', views.func_login),
]
